package com.lhkj.ct.meta.modules.patient.model.dto;

import com.lhkj.ct.base.enums.PatSourceEnum;
import com.lhkj.ct.base.model.dto.PageQuery;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * <p>
 *      描述
 * </p>
 *
 * @author job
 * @since 2023/9/17
 */
public class PatientQuery extends PageQuery {

    @ApiModelProperty(value = "姓名")
    private String patName;

    @ApiModelProperty(value = "性别", example = "1")
    private String patSex;

    @ApiModelProperty(value = "所属团体", example = "['1','2']")
    private List<String> units;

    @ApiModelProperty(value = "所属机构")
    private String patOrgan;

    @ApiModelProperty(value = "档案来源")
    private PatSourceEnum patSource;

    @ApiModelProperty(value = "1.个体档案 2.团体档案", hidden = true)
    private Integer patType;

    public String getPatName() {
        return patName;
    }

    public void setPatName(String patName) {
        this.patName = patName;
    }

    public String getPatSex() {
        return patSex;
    }

    public void setPatSex(String patSex) {
        this.patSex = patSex;
    }

    public List<String> getUnits() {
        return units;
    }

    public void setUnits(List<String> units) {
        this.units = units;
    }

    public String getPatOrgan() {
        return patOrgan;
    }

    public void setPatOrgan(String patOrgan) {
        this.patOrgan = patOrgan;
    }

    public Integer getPatType() {
        return patType;
    }

    public void setPatType(Integer patType) {
        this.patType = patType;
    }

    public PatSourceEnum getPatSource() {
        return patSource;
    }

    public void setPatSource(PatSourceEnum patSource) {
        this.patSource = patSource;
    }
}
